package com.fanyue.modules.wzb.entity;

import com.fanyue.core.base.BaseEntity;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Table;
import com.tangzc.autotable.annotation.Index;
import com.tangzc.mybatisflex.autotable.annotation.ColumnDefine;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Table(value = "wzb_clothing_batch", comment = "服装批量操作表")
public class ClothingBatchEntity extends BaseEntity<ClothingBatchEntity> {

    @ColumnDefine(comment = "批次编号")
    private String code;

    @ColumnDefine(comment = "系统操作人ID")
    private Long sysUserId;

    @ColumnDefine(comment = "借出人")
    private String people;

    @ColumnDefine(comment = "借出人联系方式")
    private String mobile;

    @ColumnDefine(comment = "借出机构")
    private String org;

    @ColumnDefine(comment = "经办人")
    private String operator;

    @ColumnDefine(comment = "归还人")
    private String revertPeoples;

    @ColumnDefine(comment = "归还经办人")
    private String revertOperators;

    @ColumnDefine(comment = "审批人")
    private String approver;

    //0-待归还，1-已全部归还，2-部分归还
    @ColumnDefine(comment = "状态", defaultValue = "0")
    private Integer status;

    @Column(ignore = true)
    private String sysUserName;
    @Column(ignore = true)
    private Long[] ids;
    @Column(ignore = true)
    private Integer type;  //1-借出，2-归还
}
